package com.lichuang.fruitvarietysm.order.feignclient;

import com.lichuang.fruitvarietysm.order.entity.Shoppingcart;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("shopping-cart")
public interface ShopingCartFeignClient {

    @RequestMapping("/shoppingcart/getOneShppingCart")
    Shoppingcart getOneShppingCart(@RequestParam("loginToken") String loginToken, @RequestParam("cartId") Integer cartId);

    @RequestMapping("/shoppingcart/deleteOrderCartGoods")
    String deleteOrderCartGoods(@RequestParam("cartID") Integer[] cartID);
}
